<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		body{
			background-color: black;
		}
		ul{
			width: 200px;
			height: 200px;	`
			margin: 100px auto;
			box-sizing: border-box;
			position: relative;
			transition: all 50s;
			margin: 100px auto;

			transform-style: preserve-3d;
/*			将页面设置为 3d 舞台 默认为2d*/
		}
		li{
			list-style: none;
			height: 200px;
			width: 200px;
			position: absolute;
		}
/*		左边*/
		li:nth-of-type(1){
			background-image: url("../image/1.jpg");
			background-size: cover;
			background-position: center;
			transform: translateX(-100px) rotateY(90deg);
		}
/*		右*/
		li:nth-of-type(2){
			background-image: url("../image/2.jpg");
			background-size: cover;
			background-position: center;
			transform: translateX(100px) rotateY(90deg);
		}
/*		上*/
		li:nth-of-type(3){
			background-image: url("../image/3.jpg");
			background-size: cover;
			background-position: center;
			transform: translatey(-100px) rotatex(90deg);
		}
/*		下*/
		li:nth-of-type(4){
			background-image: url("../image/4.jpg");
			background-size: cover;
			background-position: center;
			transform: translatey(100px) rotatex(90deg);
		}
/*		正*/
		li:nth-of-type(5){
			background-image: url("../image/5.jpg");
			background-size: cover;
			background-position: center;
			transform: translatez(100px);
		}
/*		后*/
		li:nth-of-type(6){
			background-image: url("../image/img.jpg");
			background-size: cover;
			background-position: center;
			transform: translatez(-100px) rotateY(180deg);
		}
		ul:hover{
			transform: rotate3d(1, 1, 1, 1080deg);
		}
	</style>
</head>
<body>
	<ul>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>
		<li></li>

	</ul>
</body>
</html>